import api from './request_api'

export const getwoabout = (id: any) => api.get(`/about/${id}`)

export const editabout = (user: any, id: any) => api.put(`/about/${id}`, user)

export const getabout = (user: any) => api.get(`/about/?page=${user.page}&limit=${user.limit}&keyword=${user.keyword}&sort=%2Bid`)

export const addabout = (user: any) => api.post(`/about`, user)
